import request from '@/utils/request'

// 查询录取批次列表
export function listVfAdmissionBatch(query) {
  return request({
    url: '/system/vfAdmissionBatch/list',
    method: 'get',
    params: query
  })
}

// 查询录取批次详细
export function getVfAdmissionBatch(admissionBatchId) {
  return request({
    url: '/system/vfAdmissionBatch/' + admissionBatchId,
    method: 'get'
  })
}

// 新增录取批次
export function addVfAdmissionBatch(data) {
  return request({
    url: '/system/vfAdmissionBatch',
    method: 'post',
    data: data
  })
}

// 修改录取批次
export function updateVfAdmissionBatch(data) {
  return request({
    url: '/system/vfAdmissionBatch',
    method: 'put',
    data: data
  })
}

// 删除录取批次
export function delVfAdmissionBatch(admissionBatchId) {
  return request({
    url: '/system/vfAdmissionBatch/' + admissionBatchId,
    method: 'delete'
  })
}
